.tn-tc-row{ :style => ('display: none;' if f.object._destroy) }
  = f.hidden_field :item_method, value: field
  .tn-tc-row__top-bar
    .tn-tc-row__action.tn-tc-row__action--left
      %i.material-icon.tn-tc-row__drag-anchor{ data: { drag_anchor: true } }
        reorder

    .tn-tc-row__action--right
      = link_to_remove_association f, { 'data-confirm' => 'Are you sure?', 'data-wrapper-class' => 'tn-tc-row' } do
        %i.material-icon.delete delete

    .tn-tc-row__action--right
      = link_to '#', class: 'above', data: { modal_target: "[data-tn-tc-library]", modal_closest: '.tn-tc', modal_handler: 'TenonContentLibrary', modal_clone: 'true', tn_tc_insert: 'before' }, title: 'Insert Content' do
        %i.material-icon playlist_add



    .spacer

  .tn-tc-row__fields= render row_partial, f: f
